//
export default {
  // 运行状态
  status: {
    name: "status",
    default: -1,
    type: "enum",
    enumList: [
      0, // 空闲中
      1, // 已锁车
      2, // 已开锁
      3 // 行车中
    ]
  },

  //设备开关
  switch: {
    name: "on",
    default: 1, // 设备侧默认关闭
    type: "bool"
  },
  battery: {
    name: "capacity",
    default: 20,
    type: "int"
  },

  ///////////////////////////////////////////////////////////

  //一键复位
  oneKeyReset: {
    name: "action",
    default: 0
  },
  //背部升降调节
  backControl: {
    name: "action",
    default: 0
  },

  //童锁开关
  childLockSwitch: {
    name: "on",
    default: 0
  },

  //模式选择
  modeSelect: {
    name: "action",
    default: 0
  },

  //腿部升降调节
  legControl: {
    name: "action",
    default: 0
  },

  //照明亮度
  brightness: {
    name: "brightness",
    default: 1
  },

  //功能选择
  positionSelect: {
    name: "mode",
    default: 1
  },

  //照明模式开关
  lightSwitch: {
    name: "on",
    default: 1
  },

  //睡眠监测
  SleepMonitoring: {
    name: "SleepMonitoring",
    default: '1'
  },


  //照明时长
  LightingTime: {
    name: "LightingTime",
    default: '1'
  },

  //按摩
  Massage: [
    {
      name: "foot",
      default: 0
    },
    {
      name: "frequency",
      default: 0
    },
    {
      name: "head",
      default: 0
    },

  ],
  //干预时长
  InterventionTime: {
    name: "InterventionTime",
    default: '1'
  },


  //记忆一
  memory1: [
    {
      name: "state",
      default: 0
    },
    {
      name: "backAdjust",
      default: 0
    },
    {
      name: "legAdjust",
      default: 0
    },
    {
      name: "memoryName",
      default: '记忆一'
    },
  ],

  ///////////////////////////////////////////////////////////
  //床状态
  bedCondition: [
    {
      name: "lbedCondition",
      default: 0
    },
    {
      name: "rbedCondition",
      default: '1'
    },
    {
      name: "lheartRate",
      default: 0
    },
    {
      name: "lrespiratoryRate",
      default: 0
    },
    {
      name: "rheartRate",
      default: 0
    },
    {
      name: "rrespiratoryRate",
      default: 0
    },
  ],
  //位置选择
  siteSelection: {
    name: "siteSelection",
    default: 0
  },

  //模式选择
  modeSelect: [
    {
      name: "mode",
      default: 0
    },
    {
      name: "status",
      default: 0
    },
    {
      name: "action",
      default: 0
    },
  ],
  //调节
  adjust: [
    {
      name: "legAdjustment",
      default: 0
    },
    {
      name: "headAdjustment",
      default: 0
    },
  ],
  //头部调节
  headControl: [
    {
      name: "action",
      default: 200
    }
    // ,
    // {
    //   name: "status",
    //   default: 0
    // },
  ],

  //腿部调节
  legControl: [
    {
      name: "action",
      default: 200
    },
    {
      name: "status",
      default: 0
    },
  ],

  //头部自调节
  rheadAdjustment: [
    {
      name: "lheadAdjustment",
      default: 0
    },
    {
      name: "rheadAdjustment",
      default: 0
    },
  ],

  //急停
  pause: {
    name: "on",
    default: 0
  },

  //mac
  mac: {
    name: "mac",

    default: "C1:00:12:40:01:26"
  },

  //一键复位
  oneKeyReset: [
    {
      name: "action",
      default: 0
    },
    {
      name: "status",
      default: 0
    },
  ],
  //童锁开关
  childLockSwitch: {
    name: "on",
    default: 0
  },
  //隐私授权
  privacyStatement: [
    {
      name: "privacyStatement",
      default: 1
    },
    {
      name: "inPrivate",
      default: 0
    },
  ],
  //止鼾模式
  antiSnoring: [
    {
      name: "lrelieveSnoring",
      default: 0
    },
    {
      name: "rrelieveSnoring",
      default: 0
    },
    {
      name: "rsnoringGears",
      default: 1
    },
    {
      name: "lsnoringgears",
      default: 1
    },
    {
      name: "rsnoringTime",
      default: 20
    },
    {
      name: "lsnoringTime",
      default: 1
    },
    {
      name: "rsnoringSens",
      default: 1
    },
    {
      name: "lsnoringSens",
      default: 1
    },
  ],

  //自动唤醒
  wakeUp: [
    {
      name: "lwakeUp",
      default: 0
    },
    {
      name: "lwakeupTime",
      default: 185
    },
    {
      name: "ltimeRe",
      default: '0000001'
    },
    {
      name: "lwakeupH",
      default: 2
    },
    {
      name: "rwakeUp",
      default: 0
    },
    {
      name: "rwakeupTime",
      default: 122
    },
    {
      name: "rtimeRe",
      default: '1000001'
    },
    {
      name: "rwakeupH",
      default: 1
    },
  ],

  //睡眠统计
  sleepStatistics: [
    {
      name: "lheartRate",
      default: 0
    },
    {
      name: "llightSleep",
      default: 185
    },
    {
      name: "ldeepSleep",
      default: 268
    },
    {
      name: "lrespiratoryRate",
      default: 2
    },
    {
      name: "lSnoretimes",
      default: 0
    },
    {
      name: "loutOfbed",
      default: 122
    },
    {
      name: "lSober",
      default: 555
    },
    {
      name: "rSnoretimes",
      default: 0
    },
    {
      name: "rrespiratoryRate",
      default: 185
    },
    {
      name: "rSober",
      default: '2,4,5,7'
    },
    {
      name: "rdeepSleep",
      default: 2
    },
    {
      name: "rlightSleep",
      default: 0
    },
    {
      name: "rheartRate",
      default: 122
    },
    {
      name: "routOfbed",
      default: '1,4,5,7'
    },
  ],


  // 故障码
  faultDetection: [
    {
      name: "code",
      type: "string",
      default: "00000000000000000"
    }
  ]
};
